<html>
 <!-- jquery为依赖公共文件,与各自应用保持一致即可 -->
 <script type="text/javascript" src="js/jquery-2.0.3.min.js"></script>
 <script type="text/javascript" src="js/sso_config-1.0.js"></script>
 <script type="text/javascript" src="js/sso-1.0.js"></script>
<body>
<h2>Hello World!</h2>
<span id="sso_html"></span><br>
session:<%=request.getSession().getAttribute("userId")%><br>
<script type="text/javascript">
var cookie=getCookie("FAIRY-SSO-KEY");

document.getElementById("sso_html").innerText="cookie:::"+cookie;
</script>
</body>
</html>
